/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sisfo.astacala.controller;

import com.opensymphony.xwork2.ActionSupport;
import sisfo.astacala.object.Message;

/**
 *
 * @author arif
 */
public class SampleController extends ActionSupport{
    private Message message;
    
    @Override
    public String execute() {
        setMessage(new Message()); // get data from model
        return SUCCESS;
    }

    public Message getMessage() {
        return message;
    }

    public void setMessage(Message message) {
        this.message = message;
    }
}
